﻿@model SportsStore.Domain.Entities.Product

<div class="downloadItem">
    <div class="downloadImg">
        @if (Model.Id>0)
        {
        
        
            <img src="@Url.Action("GetImage", "Product", new { ProductID = Model.Id })" alt="@Model.Name"/>
        
        }
    </div>
    <div class="downloadDesc">
        <p><b>产品名称：@Model.Name</b></p>
        <p>产品类别：@Model.Category</p>
    @foreach (var doc in Model.Documents)
    {
        <p>资料名称：<a href="@Url.Action("GetDocument","Document",new {documentId = doc.Id})">@doc.Name</a></p>
    }
    </div>
</div>